<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="utf-8" />
  <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />
  <title></title>
  <link rel="stylesheet" href="__PUBLIC__/admin/css/page.css?v=20140228" />
</head>

<body>
  <div class="page">
    <div class="page-hd">
      <h1></h1>
    </div>
    <include file="_tab" />
    <div class="form">
      <form id="Form1" name="Form1" method="post" action="{:PluginManager::adminUrl('Login','c')}">
        <php>foreach($data as $key=>$value){</php>
        <php>
          $aliasName = $party[$key]; $urls = $url[$key]; $platformKey = trim($config[$key][$value[0]]); $platformSKey = trim($config[$key][$value[1]]);
        </php>
        <dl class="kv">
          <dt>
            <label>{$aliasName}key：</label>
          </dt>
          <dd>
            <input class="input-text" type="text" name="{$key}[{$value[0]}]" value="{$platformKey}">
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>{$aliasName}密钥：</label>
          </dt>
          <dd>
            <input class="input-text" type="text" name="{$key}[{$value[1]}]" value="{$platformSKey}">
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>申请地址：</label>
          </dt>
          <dd>
            <a href="{$urls}" target="_blank">{$urls}</a>
          </dd>
        </dl>
        <php>}</php>
        <dl class="kv">
          <dt>
            <label>回调地址:</label>
          </dt>
          <dd>
            <input class="input-text" type="text" name="callback" value="{$config['callback']}">
          </dd>
        </dl>
        <div class="actions">
          <input class="btn btn-y" type="submit" value="{$Think.lang.OK}" />
        </div>
      </form>
    </div>
  </div>
</body>

</html>